{% extends "layout.html" %}
{% block title %}Rule Result: {{ rule_result.key.name }} {% endblock %}
{% block body %}

<h4>Dependencies</h4>

{% for dependency in dependency_results %}
<a href="{{ url_for('main.db_rule_result', name=dependency.key.name) }}">
  {{ dependency.key.name }} (id: {{ dependency.id }})
</a><br>
{% endfor %}

<!-- FIXME: This view is not currently supported
<h4>Dependents</h4>

{% for dependent in dependents_results %}
<a href="{{ url_for('main.db_rule_result', name=dependent.key.name) }}">
  {{ dependent.key.name }} (id: {{ dependent.id }})
</a><br>
{% endfor %}
-->

<h4>Value</h4>
{{ rule_result.value }}

{% endblock %}
